package com.cheng.data.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cheng.data.entity.UserInfoEntity;
import com.cheng.data.vo.UserInfoVO;

import java.util.List;

/**
* @author: Chengjw
* @date: 2021/7/15
* @version: 1.0
* @description:
*/
public interface UserInfoMapper extends BaseMapper<UserInfoEntity> {

   /**
   * @author: Chengjw
   * @params: [entity]
   * @return: com.cheng.data.entity.UserInfoEntity
   * @date: 2021/8/15
   * @description: 查找用户的详细信息，包括用户信息，角色信息，权限信息
   */
   UserInfoVO queryBaseUserInfo(UserInfoEntity entity);

   /**
   * @author: ChengJW
   * @params: [entity]
   * @return: java.util.List<com.cheng.data.vo.UserInfoVO>
   * @date: 2021/11/14
   * @description: 查询用户列表信息
   */
   List<UserInfoVO> queryUserList(UserInfoEntity entity);
}
